package com.jd.org.service;

import com.jd.basic.service.IBaseService;
import com.jd.org.domain.Shop;
import com.jd.org.domain.ShopAuditLog;
import com.jd.system.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * 业务接口：员工
 */
public interface IShopService extends IBaseService<Shop> {

    void settlement(Shop shop) throws Exception;

    /**
     * 店铺审核通过
     * @param log
     */
    void pass(ShopAuditLog log) throws MessagingException;


    /**
     * 店铺审核驳回
     * @param log
     */
    void reject(ShopAuditLog log) throws MessagingException;

    /**
     * 获取每一个店铺状态的数量
     * @return
     */
    List<ShopDto> getShopState();
}
